Skip to content

Comments

fix(parser): restrict setext lookahead for description list markers#347

Merged
nlopes merged 1 commit intomainfrom
nlopes-fix-setext-parsing
Feb 16, 2026
Merged

fix(parser): restrict setext lookahead for description list markers#347
nlopes merged 1 commit intomainfrom
nlopes-fix-setext-parsing

Conversation

@nlopes
Copy link
Owner

@nlopes nlopes commented Feb 16, 2026

Refactor setext section parsing to only check for description list markers (::, ;;, etc.) on the current line instead of scanning the entire remaining document. This fixes a bug where valid setext headers were skipped if a description list appeared later in the file.

Refactor setext section parsing to only check for description list
markers (::, ;;, etc.) on the current line instead of scanning the
entire remaining document. This fixes a bug where valid setext
headers were skipped if a description list appeared later in the file.
@nlopes nlopes merged commit 3bd8a76 into main Feb 16, 2026
@nlopes nlopes deleted the nlopes-fix-setext-parsing branch February 16, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant